<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>java面试指南</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="description" content="Description">
  <meta name="viewport"
    content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
</head>

<body>
  <div id="app"></div>
  <!-- docsify-edit-on-github -->
  <script src="//unpkg.com/docsify-edit-on-github/index.js"></script>
  <script>
    window.$docsify = {
      alias: {
		  '/JavaGuide/_sidebar.md':
			  'https://raw.githubusercontent.com/daichangya/JavaGuide/master/_sidebar.md',
		  '/(.*)':
			  'https://raw.githubusercontent.com/daichangya/JavaGuide/master/$1'
      },
      name: 'java面试指南',
      repo: 'https://github.com/daichangya/javaGuide',
      maxLevel: 5,//最大支持渲染的标题层级
      subMaxLevel: 3,
      homepage: 'README.md',
      coverpage: true,
      loadSidebar: true,
      auto2top: true,//切换页面后是否自动跳转到页面顶部
      //全文搜索
      search: {
        //maxAge: 86400000, // 过期时间，单位毫秒，默认一天
        paths: 'auto',
        placeholder: '搜索',
        noData: '找不到结果',
        // 搜索标题的最大程级, 1 - 6
        depth: 3,
      },
      plugins: [
          function (hook, vm) {
              hook.beforeEach(function (html) {
                  if (/githubusercontent\.com/.test(vm.route.file)) {
                      url = vm.route.file
                          .replace('raw.githubusercontent.com', 'github.com')
                          .replace(/\/master/, '/blob/master')
                  } else if (/jsdelivr\.net/.test(vm.route.file)) {
                      url = vm.route.file
                          .replace('cdn.jsdelivr.net/gh', 'github.com')
                          .replace('@master', '/blob/master')
                  } else {
                      url = 'https://github.com/daichangya/JavaGuide/blob/master/' + vm.route.file
                  }
                  var editHtml = '[:memo: Edit Document](' + url + ')\n'

                  return editHtml
                      + html
                      + '\n\n----\n\n'
                      + '<a href="https://docsify.js.org" target="_blank" style="color: inherit; font-weight: normal; text-decoration: none;">Powered by docsify</a>'
              })
          },
          // DocsifyCodefund.create('fae1f9a4-870c-4c25-b8e0-c80464f7a95c')
      ]
    }
  </script>
  <script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
  <!--Java代码高亮-->
  <script src="//unpkg.com/prismjs/components/prism-java.js"></script>
  <!--全文搜索,直接用官方提供的无法生效-->
  <script src="https://cdn.bootcss.com/docsify/4.5.9/plugins/search.min.js"></script>
  <!-- 复制到剪贴板 -->
  <script src="//unpkg.com/docsify-copy-code"></script>
  <!-- 图片缩放 -->
  <script src="//unpkg.com/docsify/lib/plugins/zoom-image.js"></script>
  <!-- 字数统计 -->
  <script src="//unpkg.com/docsify-count/dist/countable.js"></script>
</body>

</html>